# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

inherit kde eutils

DESCRIPTION="kde screensaver: put your desktop under water"
HOMEPAGE="http://kwatersaver.c0n.de/"
SRC_URI="http://kwatersaver.c0n.de/downloads/${P}.tar.bz2"
LICENSE="GPL"
RESTRICT="nomirror"

SLOT="0"
KEYWORDS="~x86 ~amd64"
IUSE=""

DEPEND="virtual/opengl"
#RDEPEND=""

need-kde 3
set-kdedir


	# well, kde looks for it's screensavers in {$KDEDIR}/share/applnk/System/ScreenSavers/
	# so we should install there (instead of /usr, which is default for kde apps in gentoo
	# to be independent of kde versions)
	# bad new: you have to reemerge kglwatersaver if you switch to a new kde version with
	# different {$KDEDIR}
	# FIXME: is there any better way, where to install screensaver files!?
PREFIX=${KDEDIR}
